package com.eightworld3.supermarket.service.dto.add;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author EightWorld3
 */
@Schema(description = "商品价格AddDto")
public class WarePriceAddDTO {
    /**
     * foreign key
     */
    @Schema(name = "wareId",example = "1",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品id")
    private Integer wareId;

    @Schema(name = "warePrice",example = "10",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品价格")
    private Float warePrice;

    @Schema(name = "wareDiscount",example = "10",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品折扣")
    private Float wareDiscount;

    @Schema(name = "remark",example = "备注")
    private String remark;

    public int getWareId() {
        return wareId;
    }

    public void setWareId(int wareId) {
        this.wareId = wareId;
    }

    public float getWarePrice() {
        return warePrice;
    }

    public void setWarePrice(float warePrice) {
        this.warePrice = warePrice;
    }

    public float getWareDiscount() {
        return wareDiscount;
    }

    public void setWareDiscount(float wareDiscount) {
        this.wareDiscount = wareDiscount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WarePriceAddDTO{" +
                "wareId=" + wareId +
                ", warePrice=" + warePrice +
                ", wareDiscount=" + wareDiscount +
                ", remark='" + remark + '\'' +
                '}';
    }
}
